﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;


namespace Iudicium.Persona
{
    /// <summary>
    /// Descripción breve de Persona
    /// </summary>
    public abstract class Persona
    {
        #region Atributos

        private int _personaId;

        public enum TipoPersona
        {
            Natural,
            Juridica
        }

        #endregion

        #region Propiedades

        public int PersonaId
        {
            set { _personaId = value; }
            get { return _personaId; }
        }

        public abstract TipoPersona Tipo
        {
            get;
        }

        #endregion

        public Persona(int personaId)
        {
            this._personaId = personaId;
        }
    }
}